package pojo;


import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Schedule entity. @author MyEclipse Persistence Tools
 */

public class Schedule  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private SysUsers sysUsers;
     private Room room;
     private Department department;
     private Integer sign;
     private Integer quantity;
     private Integer remainingQuantity;
     private Date inquiryTime;
     private Set registries = new HashSet(0);


    // Constructors

    /** default constructor */
    public Schedule() {
    }

    
    /** full constructor */
    public Schedule(SysUsers sysUsers, Room room, Department department, Integer sign, Integer quantity, Integer remainingQuantity, Date inquiryTime, Set registries) {
        this.sysUsers = sysUsers;
        this.room = room;
        this.department = department;
        this.sign = sign;
        this.quantity = quantity;
        this.remainingQuantity = remainingQuantity;
        this.inquiryTime = inquiryTime;
        this.registries = registries;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public SysUsers getSysUsers() {
        return this.sysUsers;
    }
    
    public void setSysUsers(SysUsers sysUsers) {
        this.sysUsers = sysUsers;
    }

    public Room getRoom() {
        return this.room;
    }
    
    public void setRoom(Room room) {
        this.room = room;
    }

    public Department getDepartment() {
        return this.department;
    }
    
    public void setDepartment(Department department) {
        this.department = department;
    }

    public Integer getSign() {
        return this.sign;
    }
    
    public void setSign(Integer sign) {
        this.sign = sign;
    }

    public Integer getQuantity() {
        return this.quantity;
    }
    
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getRemainingQuantity() {
        return this.remainingQuantity;
    }
    
    public void setRemainingQuantity(Integer remainingQuantity) {
        this.remainingQuantity = remainingQuantity;
    }

    public Date getInquiryTime() {
        return this.inquiryTime;
    }
    
    public void setInquiryTime(Date inquiryTime) {
        this.inquiryTime = inquiryTime;
    }

    public Set getRegistries() {
        return this.registries;
    }
    
    public void setRegistries(Set registries) {
        this.registries = registries;
    }
   








}